package com.cash.loan.modular.cash.dao;

import com.cash.loan.modular.cash.model.CashVersion;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangbo123
 * @since 2018-10-08
 */
public interface CashVersionMapper extends BaseMapper<CashVersion> {

    /**
     * 获得最新版
     * @return
     */
    String newestVersion();

    /**
     * 获得最新版数据
     * @param newestVersion
     * @return
     */
    Map<String,String> getNewestVersionData(@Param("newestVersion") String newestVersion);
}
